<template>
    <Viewer :value="props.value.level.content" :plugins="plugins" />
</template>
<script setup>
import { Viewer } from "@bytemd/vue-next";
import gfm from "@bytemd/plugin-gfm";
import highlight from "@bytemd/plugin-highlight";
//设置表格
const plugins = [gfm(), highlight()];
import "bytemd/dist/index.css";
import "highlight.js/styles/default.css";
import "github-markdown-css/github-markdown-light.css";
const props = defineProps(['value'])
</script>